﻿@model ElectrosLtd.Models.FilterFaultsForAdminModel

@using (Html.BeginForm("AdvancedFF","Home"))
{
        @Html.ValidationSummary(true)
    
        <div class="editor-field">
        
        @Html.HiddenFor(model => model.myUser.Username)
    @Html.HiddenFor(model=> model.myUF.Status_FK)

            Username: @Html.DropDownListFor(model => model.usernameChosen , Model.filterByUsernameList) |
            Fault status: @Html.DropDownListFor(model => model.StatusChosen, Model.filterByFaultStatus) |

 Date From: @Html.TextBox("txtfD")
 Date To: @Html.TextBox("txttD")

  <input type="submit" value="Filter">

 @Html.ActionLink("Filter faults by date", "FilterFaultsByDateForAdmin")
</div>
}
